package com.ali.juejin.services.main

import com.ali.juejin.bean.CommonReponseBean
import com.ali.juejin.bean.home.FollowBean
import com.ali.juejin.bean.v1.RecommendBean
import okhttp3.RequestBody
import retrofit2.http.*

interface HomeRecommendServices {
    @GET("/v1/getHotRecommendList")
    suspend fun getList(
        @Query("uid") uid:String
    ): CommonReponseBean<FollowBean>

    @Headers("Content-Type: application/json","Accept: application/json")
    @POST("article/recommend_all_feed")
    suspend fun getInfoList(
        @Body info: RequestBody
    ): RecommendBean
}